package org.example.back.service.healthytip;

import org.example.back.entity.healthytip.HealthyTip;
import org.example.back.mapper.healthytip.HealthyTipMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HealthyTipService {

    @Autowired
    private HealthyTipMapper healthyTipMapper;

    public HealthyTip getHealthyTipById(Integer id) {
        return healthyTipMapper.selectById(id);
    }
}

